package com.mapper;

import com.javabean.Traveller;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

public interface TravellerMapper {

    @Select("select t.* from traveller t, order_traveller ot where t.id=ot.travellerId and ot.orderId=#{oid}")
    ArrayList<Traveller> selectByOId(int oid);
}
